#include <stdio.h>
#define ONE 1
#define TWO (1<<1)
#define THREE (1<<2)
#define FOUR (1<<3)
#define FIVE (1<<4)

void Print(int flags)
{
	if(flags & ONE)printf("1\n");
	if(flags & TWO)printf("2\n");
	if(flags & THREE)printf("3\n");
	if(flags & FOUR)printf("4\n");
	if(flags & FIVE)printf("5\n");
}
int main()
{
	Print(ONE);
	printf("-----------------\n");
	Print(TWO);
	printf("-----------------\n");
	Print(ONE|TWO);
	printf("-----------------\n");
	Print(ONE|FOUR|FIVE);
	return 0;
}
